package humanMirror.model.analyzer;

public class SimpleLiverAnalyzer extends OrganAnalyzer {

    public SimpleLiverAnalyzer() {
        //magic numbers!!!
        final int LOW_VERY_BED = 0;
        final int HIGHT_VERY_BED = 40;

        final int LOW_BED = 41;
        final int HIGHT_BED = 55;

        final int LOW_NORM = 56;
        final int HIGHT_NORM = 80;

        final int LOW_GOOD = 81;
        final int HIGHT_GOOD = 100;

        organName = "Liver";
        doctorName = "Liver doctor";

        knowledges = new String[3];

        knowledges[0] = "detoxification";
        knowledges[1] = "cholesterol";
        knowledges[2] = "glucose";

        knowledgeBase.addKnowledge(LOW_VERY_BED, HIGHT_VERY_BED,
                "Орган у дуже поганому стані! Необхідне термінове лікування!");
        knowledgeBase.addKnowledge(LOW_BED, HIGHT_BED,
                "На орган слід звернути увагу, можуть бути серйозні проблеми!");
        knowledgeBase.addKnowledge(LOW_NORM, HIGHT_NORM,
                "Орган у нормі!");
        knowledgeBase.addKnowledge(LOW_GOOD, HIGHT_GOOD,
                "Орган працює чудово!");
    }
}
